package com.parking.exception;

public enum UserExceptionCode {


    LOGIN_FAILED(6001,"登录失败,账号或者密码错误"),
    USER_STATE_IDNOT(6002,"您的账号状态有误"),
    USER_LOGGED_IN(6003,"您的账号已经登录，请先退出"),
    USER_INFO_TEL(6004,"您的手机号已被注册"),
    USER_ACCOUNT_INNOT(6005,"您的账号已被注册"),
    USERINFO_PHONE_ONE_MINUTER(6006,"一分钟内不能再次发送验证码"),
    USERINFO_PHONE_CODE_NULL(6007,"验证码为空"),
    USERINFO_PHONE_CODE_ISNO(6008,"验证码输入有误"),
    USERINFO_PHONE_FIVE_ONE(6009,"一小时内发送短信次数不能超过5次"),
    USERINFO_IS_NOT(6010,"用户不存在"),
    USERINFO_IS_PHONE(6011,"手机号有误"),
    USERINFO_DILE_NO(6012,"文件格式错误"),

    USER_ACCOUNT_STATE_ISNOT(6013,"账号状态异常"),
    USER_ACCOUNT_STATE_DELECT(6014,"账号已被删除"),
    USER_ACCOUNT_STATE_ENABLE(6015,"账号已启用,请勿重复启用"),
    USER_ACCOUNT_STATE_DOWN(6016,"账号已禁用,请勿重复启用"),

    USER_REAL_NAME_STATE_NO(6017,"账号未实名,请先实名"),
    USER_CAR_IS_NO(6018,"您还没有车辆信息，请先添加"),
    USER_CAR_STATE_DELETE(6026,"您的车辆信息已删除"),
    USER_CAR_ORDER_HAVE(6019,"你的车辆有正在进行的订单，无法删除"),
    USERINFO_PHONE_HOUR(6020,"一小时内只能发送五次验证码"),

    USERINFO_PHONE_CODE(6021,"验证码错误"),
    USER_CAR_ATTESTATION_PHONE(6022,"手机号不一致,用户车牌号认证失败"),
    USER_CAR_ATTESTATION_NAME(6023,"姓名不一致,用户车牌号认证失败"),
    USER_CAR_INFO_HAVE(6024,"信息已存在"),
    USER_INFO_NO_LOGIN(6025,"未登录"),
    LOGIN_USER_NOPASS(6001,"密码错误"),



    ;

    Integer code;
    String message;

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    UserExceptionCode(Integer code, String message){
        this.code = code;
        this.message = message;
    }


}
